module ProductsHelper


  def add_price_link(name)
    link_to_function name do |page|
      page.insert_html :bottom, :price, :partial => 'price', :object => Price.new
    end
  end
  
  def add_productorigin_link(name)
    link_to_function name do |page|
      page.insert_html :bottom, :productorigin, :partial => 'productorigin' , :object => Productorigin.new
    end
  end




end
